package com.daniel.design.pattern.decorator;

/**
 * @ClassName FastFood
 * @Description 快餐类（抽象构件角色）
 * @Author Daniel
 * @Version V1.0.0
 */
public abstract class FastFood {
    private double price;
    private String desc;

    public FastFood(double price, String desc) {
        this.price = price;
        this.desc = desc;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public abstract double cost();
}
